ReportAlert Object

The ReportAlert object represents a Report Alert contained in a report. This object provides properties for getting and setting information on Report Alerts in the report.

Report Alerts are custom messages created in either the Crystal Reports Designer, the Report Designer Component, or the Embeddable Crystal Reports Designer Control. Report Alerts may indicate action to be taken by the user or information about report data. ReportAlert Object Properties. For more information see Report Alerts in the Crystal Reports User's Guide.

ReportAlert Object Properties

Property Definition Read/ Write Restriction in
event handler

AlertInstances

ReportAlertInstances Collection. Gets a reference to a collection of all the Report Alert instances created when the Report Alert is run.

Read only

None

ConditionFormula

String. Gets or sets the condition formula for the Report Alert. The condition formula can be based on recurring records or on summary fields, but cannot be based on print-time fields, such as running totals or print time formulas. Condition formulas cannot have shared variables.

Read/Write

Can be written only when formatting idle.

DefaultMessage

String. Gets or sets the default message for the Report Alert.

Read/Write

Can be written only when formatting idle.

IsEnabled

Boolean. Gets or sets wether or not the Report Alert is enabled.

Read/Write

Can be written only when formatting idle

MessageFormula

String. Gets or sets the message when the Report Alert is triggered. The result of the formula must be a string, and is created by combining a string with a report field. If MessageFormula is set it will override the value set for DefaultMessage.

Read/Write

Can be written only when formatting idle

Name

String. Gets or sets the name of the Report Alert.

Read/Write

Can be written only when formatting idle

Parent

Report Object. Gets reference to the parent object.

Read only

None



Seagate Software IMG Holdings, Inc.
http://www.seagatesoftware.com
Support services:
http://support.seagatesoftware.com